﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<IEnumerable<ShareB.Models.PublisherModel>>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	SearchPublishers
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <h2>SearchPublishers</h2>

    <table>
        <tr>
            <th>
                UserID
            </th>
            <th>
                Username
            </th>
            <th></th>
        </tr>

    <% foreach (var item in Model) { %>
    
        <tr>
            <td>
                <%: item.UserID %>
            </td>
            <td>
                <%: item.Username %>
            </td>
            <td>
                <%: Html.ActionLink("Add", "AddPublishers", new { id = item.UserID}) %>
            </td>
        </tr>
    
    <% } %>

    </table>

    <p>|
        <%: Html.ActionLink("Back to List", "ManageFollowers", "User")%>
    </p>

</asp:Content>

